#! /bin/sh

basedir="`dirname $0`"

CYTHON=Cython-0.11.1

LD_LIBRARY_PATH="$basedir"/simplematrix/lib:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH
PATH=$PATH:"$basedir"/sw/${CYTHON}/bin; export PATH
PYTHONPATH="$basedir":"$basedir"/sw/${CYTHON}:"$basedir"/simplematrix:$PYTHONPATH; export PYTHONPATH

exec python "$basedir"/main.py "$@"
